home
***
CD-ROM
|
disk
|
other
***
search
/
SGI Hot Mix 8
/
Hot Mix 8.iso
/
.all
/
demos
/
Soft_Win
/
diskspaceScript
(
.txt
)
< prev
next >
Wrap
Text File
|
1994-06-22
|
1KB
|
41 lines
#!/bin/sh
# diskspaceScript
#
# Derived from: SoftPC version
#
# Author: Anthony Shaughnessy
#
# Created on: 7th April 1994
#
# Sccs ID: @(#)diskspaceScript.sh 1.2 4/19/94
#
# Coding Stds.: 2.0
#
# Purpose: This script is called by the instwrap program when it
# detects that inst has complained about the installation
# due to a lack of disk space. It only really needs to
# output a meaningful message, with some hints as to
# what the user can do about it. This is because the
# output from inst is directed to /dev/null, and so the
# user does not see the inst error messages.
#
# If the SoftWindows directory is a symlink, then df it to find the real file
# system it is on, otherwise df /usr.
# We can't just blindly df /usr/lib/SoftWindows, because it may not exist.
echo "\n"
if test -l /usr/lib/SoftWindows
then
/bin/df -k /usr/lib/SoftWindows
else
/bin/df -k /usr
fi
echo "\n"
echo "The installation has failed due to a lack of disk space on the file
system containing the /usr/lib/SoftWindows directory. The SoftWindows
installation requires approximately 32Mb of disk space.
Please create some space before reinstalling."